package com.mall.b2c.service;

import java.util.List;

import com.mall.b2c.bean.GoodsCategoryBean;
import com.mall.b2c.domain.goods.GoodsCategoryDomain;
import com.mall.common.bean.Order;
import com.mall.common.service.BaseService;

/**
 * @author wangzx
 * Service接口 - 商品分类
 */
public interface GoodsCategoryService extends BaseService<GoodsCategoryDomain, Long>  {

	/**
	 * 获取商品分类
	 * @param excludeId
	 * @param parentId
	 * @param isRecommend
	 * @param isVisible
	 * @param isTop
	 * @param count
	 * @param orderList
	 * @return
	 */
	public List<GoodsCategoryDomain>  findList( Long parentId, Long excludeId,
			Boolean isRecommend, Boolean isVisible, Boolean isTop, Integer count,
			Order orderBy);

	/**
	 * 获取指定分类
	 * @param id
	 * @return
	 */
	public GoodsCategoryDomain getCategoryById(Long id);
	
	/**
	 * 获取分类列表bean
	 * @param catIds
	 * @param isVisible
	 * @param parentId
	 * @param isRecommend
	 * @param num
	 * @param orderBy
	 * @return
	 */
	public  List<GoodsCategoryBean> getGoodsCategoryList(Long[] catIds, Boolean isVisible, Long parentId,
			Boolean isRecommend, Integer num, String orderBy);
	
}
